﻿using Map;
using Microsoft.Xna.Framework;

namespace Map_Creator.MapInfo
{
    public class AnimatedTileGrid : TileStructGrid
    {

        public override TileStruct this[int x, int y]
        {
            get
            {
                return tiles[x, y];
            }
            set { tiles[x, y] = value; }
        }


        public AnimatedTileGrid(int x, int y)
        {
            Size = new Point(x,y);
            tiles = new AnimatedTile[x,y];
        }
    }
}
